﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace QldtSdh.GUI.DaoTao
{
    public partial class DialogGetDate : QldtSdh.GUI.Common.BaseDialog
    {
        public DateTime SelectedDate
        {
            get { return cal.SelectionRange.Start; }
        }

        public DialogGetDate(DateTime currentDate)
        {
            InitializeComponent();

            cal.FirstDayOfWeek = Day.Monday;
            cal.SetDate(currentDate);
        }
    }
}
